import request from '@/utils/request'
const preUrl = '/order'
export default {
    getOrder(id) {
        return request({
            url: preUrl + `/get/` + id,
            method: 'get',
        })
    },
    getOrderPages(page){
        return request({
            url: preUrl + `/pages`,
            method: 'Post',
            data: page
        })
    },
    updateOrder(order){
        return request({
            url: preUrl + `/update`,
            method: 'Post',
            data: order
        })
    }
}